package com.zerosky.crm.po;

import java.io.Serializable;
import java.util.Date;

import com.zerosky.crm.util.PageInfo;

/**
 * Department实体类 与实体表关联
 * 
 * 
 */
public class Department implements Serializable {
	private static final long serialVersionUID = 1L;
	/* 部门ID */
	private String deptId;
	/* 部门名称 */
	private String deptName;
	/* 所属职能 */
	private String remake;
	/* 所属部门 */
	private String pid;
	/* 是否启用 */
	private Integer status;
	/* 是否为分公司*/
	private Integer isCompany;
	/* 创建时间 */
	private Date createDate;

	private Integer employeeCount;// 用于统计员工数量
	private Integer isPluralize;//用于兼任职务和适用范围

	
	public Integer getIsPluralize() {
		return isPluralize;
	}

	public void setIsPluralize(Integer isPluralize) {
		this.isPluralize = isPluralize;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getRemake() {
		return remake;
	}

	public void setRemake(String remake) {
		this.remake = remake;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getEmployeeCount() {
		return employeeCount;
	}

	public void setEmployeeCount(Integer employeeCount) {
		this.employeeCount = employeeCount;
	}

	public Integer getIsCompany() {
		return isCompany;
	}

	public void setIsCompany(Integer isCompany) {
		this.isCompany = isCompany;
	}

	@Override
	public String toString() {
		return "Department [deptId=" + deptId + ", deptName=" + deptName + ", remake=" + remake + ", pid=" + pid
				+ ", status=" + status + ", isCompany=" + isCompany + ", createDate=" + createDate + ", employeeCount="
				+ employeeCount + "]";
	}
}